package com.boy.rpc.framework.console.service;

import com.boy.rpc.framework.console.workbench.WorkbenchResult;

/**
 * Created by wesley on 2017-03-16.
 */
public interface IRedisService {

    WorkbenchResult getKV(String serverName, int dbIndex, String dataType, String key);

    void addKV(String serverName, int dbIndex, String dataType, String key, String[] value, double[] score, String[] member, String[] field);

    void delKV(String serverName, int dbIndex, String deleteKeys);

    void addRedisServer(String name, String host, int port, String password);

    void delValue(String serverName, int dbIndex, String key);

    void updateValue(String serverName, int dbIndex, String key, String value);
}
